package com.rerun.enums;

/**
 * 邮件类别枚举
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/16 11:45
 */
public enum EmailTypeEnum {
    /**
     * 简历投递
     */
    DELIVER(100, "简历投递"),
    /**
     * 面试邀请.
     */
    INVITATION(200,"面试邀请"),
    /**
     * 拒绝.
     */
    REFUSE(300,"拒绝");
    /** 主键 */
    private final int key;

    /** 描述 */
    private final String desc;


    EmailTypeEnum(final int key, final String desc) {
        this.key = key;
        this.desc = desc;
    }

    /**
     * Gets key.
     *
     * @return the key
     */
    public int getKey() {
        return this.key;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return this.desc;
    }
}
